import java.io.Serializable; 
public class FFSynapse implements Serializable{ 	
  public double weight; 	
  public double previousWeight;  	
  public double accuWeightDiff;	 	
  public FFNeuron sourceNeuron; 	
  public FFNeuron targetNeuron; 	
  public FFSynapse (FFNeuron sourceNeuron, FFNeuron targetNeuron){ 		
    this.sourceNeuron = sourceNeuron; 		
    this.targetNeuron = targetNeuron; 		
    accuWeightDiff = 0; 		
    weight = RandGen.uniform(-1,1); 		
    previousWeight = weight; 	
  } 
}